﻿namespace HRM.CORE
{
    using DevExpress.Utils;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraEditors.Mask;
    using DevExpress.XtraGrid.Columns;
    using DevExpress.XtraGrid.Views.Grid;
    using DevExpress.XtraLayout;
    using DevExpress.XtraLayout.Utils;
    using DevExpress.XtraTab;
    using APP.HELPER;
    using Common.Class; using APP.HELPER.Utils.Language; using Security.Security; using Dictionary.ERP;
    using Dictionary;
    using HRM.CORE;
    
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms; using Common;
    using Common;

    public class xucCandidateAdd : Common.xucBaseAddH
    {
        private CalcEdit calExpectSalary;
        private CalcEdit calExperience;
        private CalcEdit calHeight;
        private CalcEdit calWeight;
        private ComboBoxEdit cboEducation;
        private ComboBoxEdit cboEthnic;
        private ComboBoxEdit cboInformatic;
        private ComboBoxEdit cboJob;
        private ComboBoxEdit cboLanguage;
        private ComboBoxEdit cboMariage;
        private ComboBoxEdit cboNationality;
        private ComboBoxEdit cboPersonJob;
        private ComboBoxEdit cboPosition1;
        private ComboBoxEdit cboPosition2;
        private ComboBoxEdit cboProfessional;
        private ComboBoxEdit cboReligion;
        private ComboBoxEdit cboStatus;
        private CheckedComboBoxEdit chcDegree;
        private CheckEdit cheSex;
        private IContainer components = null;
        private DateEdit dtBirthday;
        private DateEdit dtIDCardDate;
        private DateEdit dtInputFileDate;
        private GridLookUpEdit glkRecruitment;
        private GroupControl grHealth;
        private GroupControl grIDCard;
        private GridColumn gridColumn1;
        private GridColumn gridColumn2;
        private GridColumn gridColumn3;
        private GridColumn gridColumn4;
        private GridColumn gridColumn5;
        private GridColumn gridColumn6;
        private GridView gridView1;
        private GroupControl grPersonContact;
        private GroupControl grPosition;
        private GroupControl grWorkInformation;
        private PictureEdit imgPhoto;
        private LayoutControl layoutControl14;
        private LayoutControl layoutControl15;
        private LayoutControl layoutControl16;
        private LayoutControl layoutControl17;
        private LayoutControl layoutControl18;
        private LayoutControl layoutControl5;
        private LayoutControlGroup layoutControlGroup1;
        private LayoutControlGroup layoutControlGroup14;
        private LayoutControlGroup layoutControlGroup15;
        private LayoutControlGroup layoutControlGroup16;
        private LayoutControlGroup layoutControlGroup17;
        private LayoutControlGroup layoutControlGroup5;
        private LayoutControlItem layoutControlItem10;
        private LayoutControlItem layoutControlItem11;
        private LayoutControlItem layoutControlItem30;
        private LayoutControlItem layoutControlItem34;
        private LayoutControlItem lcBirthday;
        private LayoutControlItem lcBirthPlace;
        private LayoutControlItem lcCandidateCode;
        private LayoutControlItem lcCellPhone;
        private LayoutControlItem lcContactAddress;
        private LayoutControlItem lcDegree;
        private LabelControl lcDescription;
        private LayoutControlItem lcEducation;
        private LayoutControlItem lcEmail;
        private LayoutControlItem lcEthnic;
        private LayoutControlItem lcExpectSalary;
        private LayoutControlItem lcExperience;
        private LayoutControlItem lcFirstName;
        private LayoutControlItem lcHealth;
        private LayoutControlItem lcHeight;
        private LayoutControlItem lcHomePhone;
        private LayoutControlItem lcIDCard;
        private LayoutControlItem lcIDCardDate;
        private LayoutControlItem lcIDCardPlace;
        private LayoutControlItem lcInformatic;
        private LayoutControlItem lcInputFileDate;
        private LayoutControlItem lcJob;
        private LayoutControlItem lcLanguage;
        private LayoutControlItem lcLastName;
        private LayoutControlItem lcMainAddress;
        private LayoutControlItem lcMarriage;
        private LayoutControlItem lcNationality;
        private LayoutControlItem lcPersonAddress;
        private LayoutControlItem lcPersonJob;
        private LayoutControlItem lcPersonName;
        private LayoutControlItem lcPersonPhone;
        private LayoutControlItem lcPosition1;
        private LayoutControlItem lcPosition2;
        private LayoutControlItem lcProfessional;
        private LabelControl lcRecruitmentName;
        private LayoutControlItem lcReligion;
        private LayoutControlItem lcStatus;
        private LayoutControlItem lcWeight;
        private XtraTabPage tabBasicInformation;
        private XtraTabPage tabRecruitmentInformation;
        private TextEdit txtBirthPlace;
        private TextEdit txtCellPhone;
        private TextEdit txtContactAddress;
        private TextEdit txtDescription;
        private TextEdit txtEmail;
        private TextEdit txtFirstName;
        private TextEdit txtHealth;
        private TextEdit txtHomePhone;
        private TextEdit txtID;
        private TextEdit txtIDCard;
        private TextEdit txtIDCardPlace;
        private TextEdit txtLastName;
        private TextEdit txtMainAddress;
        private TextEdit txtPersonAddress;
        private TextEdit txtPersonName;
        private TextEdit txtPersonPhone;
        private XtraTabControl xtraTabControl1;

        public event SuccessEventHander Success;

        public xucCandidateAdd()
        {
            this.InitializeComponent();
            this.InitData();
        }

        protected override void Add()
        {
            base.Add();
            this.txtID.Text = new HRM_CANDIDATE().NewID();
            this.txtFirstName.Focus();
            this.imgPhoto.Image = null;
        }

        private void AddCheckedComboboxEdit(CheckedComboBoxEdit checkedCombo, string str, string value)
        {
            CheckedListBoxItem item = new CheckedListBoxItem {
                Description = str,
                Value = value
            };
            checkedCombo.Properties.Items.Add(item);
        }

        private void AddComboboxEdit(ComboBoxEdit combo, string str)
        {
            combo.Properties.Items.Add(str);
            combo.SelectedIndex = combo.Properties.Items.Count - 1;
        }

        private void AddComboboxEditNoSelected(ComboBoxEdit combo, string str)
        {
            combo.Properties.Items.Add(str);
        }

        private void cbo_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            xfmNationalityAdd.AddedEventHander hander = null;
            xfmEthnicAdd.AddedEventHander hander2 = null;
            xfmReligionAdd.AddedEventHander hander3 = null;
            xfmEducationAdd.AddedEventHander hander4 = null;
            xfmLanguageAdd.AddedEventHander hander5 = null;
            xfmInformaticAdd.AddedEventHander hander6 = null;
            xfmProfessionalAdd.AddedEventHander hander7 = null;
            xfmJobAdd.AddedEventHander hander8 = null;
            xfmPositionAdd.AddedEventHander hander9 = null;
            xfmPositionAdd.AddedEventHander hander10 = null;
            xfmJobAdd.AddedEventHander hander11 = null;
            xfmDegreeAdd.AddedEventHander hander12 = null;
            if (e.Button.Kind == ButtonPredefines.Glyph)
            {
                ComboBoxEdit edit = sender as ComboBoxEdit;
                switch (edit.Name)
                {
                    case "cboNationality":
                    {
                        xfmNationalityAdd add = new xfmNationalityAdd(Actions.Add);
                        if (hander == null)
                        {
                            hander = (s, i) => this.AddComboboxEdit(this.cboNationality, i.NationalityName);
                        }
                        add.Added += hander;
                        add.ShowDialog();
                        break;
                    }
                    case "cboEthnic":
                    {
                        xfmEthnicAdd add2 = new xfmEthnicAdd(Actions.Add);
                        if (hander2 == null)
                        {
                            hander2 = (s, i) => this.AddComboboxEdit(this.cboEthnic, i.EthnicName);
                        }
                        add2.Added += hander2;
                        add2.ShowDialog();
                        break;
                    }
                    case "cboReligion":
                    {
                        xfmReligionAdd add3 = new xfmReligionAdd(Actions.Add);
                        if (hander3 == null)
                        {
                            hander3 = (s, i) => this.AddComboboxEdit(this.cboReligion, i.ReligionName);
                        }
                        add3.Added += hander3;
                        add3.ShowDialog();
                        break;
                    }
                    case "cboEducation":
                    {
                        xfmEducationAdd add4 = new xfmEducationAdd(Actions.Add);
                        if (hander4 == null)
                        {
                            hander4 = (s, i) => this.AddComboboxEdit(this.cboEducation, i.EducationName);
                        }
                        add4.Added += hander4;
                        add4.ShowDialog();
                        break;
                    }
                    case "cboLanguage":
                    {
                        xfmLanguageAdd add5 = new xfmLanguageAdd(Actions.Add);
                        if (hander5 == null)
                        {
                            hander5 = (s, i) => this.AddComboboxEdit(this.cboLanguage, i.LanguageName);
                        }
                        add5.Added += hander5;
                        add5.ShowDialog();
                        break;
                    }
                    case "cboInformatic":
                    {
                        xfmInformaticAdd add6 = new xfmInformaticAdd(Actions.Add);
                        if (hander6 == null)
                        {
                            hander6 = (s, i) => this.AddComboboxEdit(this.cboInformatic, i.InformaticName);
                        }
                        add6.Added += hander6;
                        add6.ShowDialog();
                        break;
                    }
                    case "cboProfessional":
                    {
                        xfmProfessionalAdd add7 = new xfmProfessionalAdd(Actions.Add);
                        if (hander7 == null)
                        {
                            hander7 = (s, i) => this.AddComboboxEdit(this.cboProfessional, i.ProfessionalName);
                        }
                        add7.Added += hander7;
                        add7.ShowDialog();
                        break;
                    }
                    case "cboJob":
                    {
                        xfmJobAdd add8 = new xfmJobAdd(Actions.Add);
                        if (hander8 == null)
                        {
                            hander8 = delegate (object s, DIC_JOB i) {
                                this.AddComboboxEdit(this.cboJob, i.JobName);
                                this.AddComboboxEditNoSelected(this.cboPersonJob, i.JobName);
                            };
                        }
                        add8.Added += hander8;
                        add8.ShowDialog();
                        break;
                    }
                    case "cboPosition1":
                    {
                        xfmPositionAdd add9 = new xfmPositionAdd(Actions.Add);
                        if (hander9 == null)
                        {
                            hander9 = delegate (object s, DIC_POSITION i) {
                                this.AddComboboxEdit(this.cboPosition1, i.PositionName);
                                this.AddComboboxEditNoSelected(this.cboPosition2, i.PositionName);
                            };
                        }
                        add9.Added += hander9;
                        add9.ShowDialog();
                        break;
                    }
                    case "cboPosition2":
                    {
                        xfmPositionAdd add10 = new xfmPositionAdd(Actions.Add);
                        if (hander10 == null)
                        {
                            hander10 = delegate (object s, DIC_POSITION i) {
                                this.AddComboboxEdit(this.cboPosition2, i.PositionName);
                                this.AddComboboxEditNoSelected(this.cboPosition1, i.PositionName);
                            };
                        }
                        add10.Added += hander10;
                        add10.ShowDialog();
                        break;
                    }
                    case "cboPersonJob":
                    {
                        xfmJobAdd add11 = new xfmJobAdd(Actions.Add);
                        if (hander11 == null)
                        {
                            hander11 = delegate (object s, DIC_JOB i) {
                                this.AddComboboxEdit(this.cboPersonJob, i.JobName);
                                this.AddComboboxEditNoSelected(this.cboJob, i.JobName);
                            };
                        }
                        add11.Added += hander11;
                        add11.ShowDialog();
                        break;
                    }
                    case "chcDegree":
                    {
                        xfmDegreeAdd add12 = new xfmDegreeAdd(Actions.Add);
                        if (hander12 == null)
                        {
                            hander12 = (s, i) => this.AddCheckedComboboxEdit(this.chcDegree, i.DegreeName, i.DegreeCode);
                        }
                        add12.Added += hander12;
                        add12.ShowDialog();
                        break;
                    }
                }
            }
        }

        private void chc_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            xfmDegreeAdd.AddedEventHander hander = null;
            if (e.Button.Kind == ButtonPredefines.Glyph)
            {
                CheckedComboBoxEdit edit = sender as CheckedComboBoxEdit;
                string name = edit.Name;
                if ((name != null) && (name == "chcDegree"))
                {
                    xfmDegreeAdd add = new xfmDegreeAdd(Actions.Add);
                    if (hander == null)
                    {
                        hander = (s, i) => this.AddCheckedComboboxEdit(this.chcDegree, i.DegreeName, i.DegreeCode);
                    }
                    add.Added += hander;
                    add.ShowDialog();
                }
            }
        }

        public void Clear()
        {
            this.txtFirstName.Focus();
            this.txtFirstName.Text = "";
            this.txtLastName.Text = "";
            this.dtBirthday.DateTime = System.DateTime.Now;
            this.cboMariage.Text = "";
            this.txtBirthPlace.Text = "";
            this.txtMainAddress.Text = "";
            this.txtContactAddress.Text = "";
            this.txtCellPhone.Text = "";
            this.txtHomePhone.Text = "";
            this.txtEmail.Text = "";
            this.txtIDCard.Text = "";
            this.dtIDCardDate.DateTime = System.DateTime.Now;
            this.txtIDCardPlace.Text = "";
            this.txtHealth.Text = "";
            this.calHeight.Text = "0";
            this.calWeight.Text = "0";
            this.calExperience.Text = "0";
            this.dtInputFileDate.DateTime = System.DateTime.Now;
            this.calExpectSalary.Text = "0.0";
            this.cboStatus.SelectedIndex = 0;
            this.txtPersonName.Text = "";
            this.txtPersonAddress.Text = "";
            this.txtPersonPhone.Text = "";
            this.txtDescription.Text = "";
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void glk_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            xfmRecruitmentAdd.AddedEventHander hander = null;
            if (e.Button.Kind == ButtonPredefines.Glyph)
            {
                xfmRecruitmentAdd add = new xfmRecruitmentAdd(Actions.Add);
                if (hander == null)
                {
                    hander = (s, i) => new HRM_RECRUITMENT().AddGridLookupEdit(this.glkRecruitment);
                }
                add.Added += hander;
                add.ShowDialog();
            }
        }

        protected override void Init()
        {
            base.Init();
        }

        private HRM_CANDIDATE InitClass()
        {
            HRM_CANDIDATE hrm_candidate = new HRM_CANDIDATE {
                CandidateCode = this.txtID.Text,
                FirstName = this.txtFirstName.Text,
                LastName = this.txtLastName.Text,
                Sex = this.cheSex.Checked,
                Birthday = this.dtBirthday.DateTime,
                Marriage = this.cboMariage.Text,
                BirthPlace = this.txtBirthPlace.Text,
                MainAddress = this.txtMainAddress.Text,
                ContactAddress = this.txtContactAddress.Text,
                CellPhone = this.txtCellPhone.Text,
                HomePhone = this.txtHomePhone.Text,
                Email = this.txtEmail.Text,
                Nationality = this.cboNationality.Text,
                Ethnic = this.cboEthnic.Text,
                Religion = this.cboReligion.Text,
                Education = this.cboEducation.Text,
                Language = this.cboLanguage.Text,
                Informatic = this.cboInformatic.Text,
                IDCard = this.txtIDCard.Text,
                IDCardDate = this.dtIDCardDate.DateTime,
                IDCardPlace = this.txtIDCardPlace.Text,
                Health = this.txtHealth.Text,
                Height = double.Parse(this.calHeight.Text),
                Weight = double.Parse(this.calWeight.Text),
                Professional = this.cboProfessional.Text,
                Job = this.cboJob.Text,
                Experience = this.calExperience.Text,
                InputFileDate = this.dtInputFileDate.DateTime,
                Position1 = this.cboPosition1.Text,
                Position2 = this.cboPosition2.Text,
                ExpectSalary = decimal.Parse(this.calExpectSalary.Text),
                Status = this.cboStatus.SelectedIndex,
                PersonName = this.txtPersonName.Text,
                PersonJob = this.cboPersonJob.Text,
                PersonAddress = this.txtPersonAddress.Text,
                PersonPhone = this.txtPersonPhone.Text,
                Description = this.txtDescription.Text
            };
            if (this.glkRecruitment.EditValue == null)
            {
                MessageBox.Show("Vui l\x00f2ng chọn đợt tuyển dụng cho ứng vi\x00ean!");
                return null;
            }
            hrm_candidate.RecruitmentCode = this.glkRecruitment.EditValue.ToString();
            return hrm_candidate;
        }

        private void InitData()
        {
            new HRM_RECRUITMENT().AddGridLookupEdit(this.glkRecruitment);
            new DIC_NATIONALITY().AddComboEdit(this.cboNationality);
            new DIC_ETHNIC().AddComboEdit(this.cboEthnic);
            new DIC_RELIGION().AddComboEdit(this.cboReligion);
            new DIC_EDUCATION().AddComboEdit(this.cboEducation);
            new DIC_LANGUAGE().AddComboEdit(this.cboLanguage);
            new DIC_INFORMATIC().AddComboEdit(this.cboInformatic);
            new DIC_PROFESSIONAL().AddComboEdit(this.cboProfessional);
            DIC_JOB dic_job = new DIC_JOB();
            dic_job.AddComboEdit(this.cboJob);
            dic_job.AddComboEdit(this.cboPersonJob);
            DIC_POSITION dic_position = new DIC_POSITION();
            dic_position.AddComboEdit(this.cboPosition1);
            dic_position.AddComboEdit(this.cboPosition2);
            new DIC_DEGREE().AddCheckedComboEdit(this.chcDegree);
        }

        private void InitDegree()
        {
            foreach (CheckedListBoxItem item in this.chcDegree.Properties.Items)
            {
                HRM_CANDIDATE_DEGREE hrm_candidate_degree = new HRM_CANDIDATE_DEGREE();
                if (hrm_candidate_degree.Exist(this.txtID.Text, item.Value.ToString()))
                {
                    item.CheckState = CheckState.Checked;
                }
            }
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucCandidateAdd));
            SerializableAppearanceObject appearance = new SerializableAppearanceObject();
            SerializableAppearanceObject obj3 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj4 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj5 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj6 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj7 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj8 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj9 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj10 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj11 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj12 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj13 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj14 = new SerializableAppearanceObject();
            this.xtraTabControl1 = new XtraTabControl();
            this.tabBasicInformation = new XtraTabPage();
            this.layoutControl5 = new LayoutControl();
            this.grHealth = new GroupControl();
            this.layoutControl14 = new LayoutControl();
            this.calWeight = new CalcEdit();
            this.calHeight = new CalcEdit();
            this.txtHealth = new TextEdit();
            this.layoutControlGroup5 = new LayoutControlGroup();
            this.lcHealth = new LayoutControlItem();
            this.lcHeight = new LayoutControlItem();
            this.lcWeight = new LayoutControlItem();
            this.cboInformatic = new ComboBoxEdit();
            this.cboLanguage = new ComboBoxEdit();
            this.cboEducation = new ComboBoxEdit();
            this.txtEmail = new TextEdit();
            this.txtHomePhone = new TextEdit();
            this.txtCellPhone = new TextEdit();
            this.cboMariage = new ComboBoxEdit();
            this.grIDCard = new GroupControl();
            this.layoutControl15 = new LayoutControl();
            this.txtIDCardPlace = new TextEdit();
            this.dtIDCardDate = new DateEdit();
            this.txtIDCard = new TextEdit();
            this.layoutControlGroup1 = new LayoutControlGroup();
            this.lcIDCard = new LayoutControlItem();
            this.lcIDCardDate = new LayoutControlItem();
            this.lcIDCardPlace = new LayoutControlItem();
            this.dtBirthday = new DateEdit();
            this.txtLastName = new TextEdit();
            this.cheSex = new CheckEdit();
            this.imgPhoto = new PictureEdit();
            this.cboNationality = new ComboBoxEdit();
            this.txtContactAddress = new TextEdit();
            this.txtMainAddress = new TextEdit();
            this.cboReligion = new ComboBoxEdit();
            this.cboEthnic = new ComboBoxEdit();
            this.txtBirthPlace = new TextEdit();
            this.txtID = new TextEdit();
            this.txtFirstName = new TextEdit();
            this.layoutControlGroup14 = new LayoutControlGroup();
            this.lcNationality = new LayoutControlItem();
            this.lcCandidateCode = new LayoutControlItem();
            this.lcMainAddress = new LayoutControlItem();
            this.lcContactAddress = new LayoutControlItem();
            this.layoutControlItem11 = new LayoutControlItem();
            this.layoutControlItem10 = new LayoutControlItem();
            this.lcLastName = new LayoutControlItem();
            this.lcFirstName = new LayoutControlItem();
            this.lcBirthday = new LayoutControlItem();
            this.lcCellPhone = new LayoutControlItem();
            this.lcHomePhone = new LayoutControlItem();
            this.lcEmail = new LayoutControlItem();
            this.lcEthnic = new LayoutControlItem();
            this.lcReligion = new LayoutControlItem();
            this.lcEducation = new LayoutControlItem();
            this.lcLanguage = new LayoutControlItem();
            this.lcInformatic = new LayoutControlItem();
            this.layoutControlItem30 = new LayoutControlItem();
            this.layoutControlItem34 = new LayoutControlItem();
            this.lcBirthPlace = new LayoutControlItem();
            this.lcMarriage = new LayoutControlItem();
            this.tabRecruitmentInformation = new XtraTabPage();
            this.lcDescription = new LabelControl();
            this.txtDescription = new TextEdit();
            this.grPersonContact = new GroupControl();
            this.layoutControl16 = new LayoutControl();
            this.txtPersonAddress = new TextEdit();
            this.cboPersonJob = new ComboBoxEdit();
            this.txtPersonPhone = new TextEdit();
            this.txtPersonName = new TextEdit();
            this.layoutControlGroup15 = new LayoutControlGroup();
            this.lcPersonName = new LayoutControlItem();
            this.lcPersonJob = new LayoutControlItem();
            this.lcPersonAddress = new LayoutControlItem();
            this.lcPersonPhone = new LayoutControlItem();
            this.grPosition = new GroupControl();
            this.layoutControl17 = new LayoutControl();
            this.cboPosition1 = new ComboBoxEdit();
            this.cboPosition2 = new ComboBoxEdit();
            this.calExpectSalary = new CalcEdit();
            this.cboStatus = new ComboBoxEdit();
            this.layoutControlGroup16 = new LayoutControlGroup();
            this.lcExpectSalary = new LayoutControlItem();
            this.lcPosition2 = new LayoutControlItem();
            this.lcPosition1 = new LayoutControlItem();
            this.lcStatus = new LayoutControlItem();
            this.grWorkInformation = new GroupControl();
            this.layoutControl18 = new LayoutControl();
            this.chcDegree = new CheckedComboBoxEdit();
            this.cboProfessional = new ComboBoxEdit();
            this.cboJob = new ComboBoxEdit();
            this.dtInputFileDate = new DateEdit();
            this.calExperience = new CalcEdit();
            this.layoutControlGroup17 = new LayoutControlGroup();
            this.lcExperience = new LayoutControlItem();
            this.lcInputFileDate = new LayoutControlItem();
            this.lcJob = new LayoutControlItem();
            this.lcProfessional = new LayoutControlItem();
            this.lcDegree = new LayoutControlItem();
            this.gridColumn1 = new GridColumn();
            this.gridColumn2 = new GridColumn();
            this.lcRecruitmentName = new LabelControl();
            this.glkRecruitment = new GridLookUpEdit();
            this.gridView1 = new GridView();
            this.gridColumn3 = new GridColumn();
            this.gridColumn4 = new GridColumn();
            this.gridColumn5 = new GridColumn();
            this.gridColumn6 = new GridColumn();
            ((ISupportInitialize) base.Err).BeginInit();
            base.imageCollection2.BeginInit();
            this.xtraTabControl1.BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.tabBasicInformation.SuspendLayout();
            this.layoutControl5.BeginInit();
            this.layoutControl5.SuspendLayout();
            this.grHealth.BeginInit();
            this.grHealth.SuspendLayout();
            this.layoutControl14.BeginInit();
            this.layoutControl14.SuspendLayout();
            this.calWeight.Properties.BeginInit();
            this.calHeight.Properties.BeginInit();
            this.txtHealth.Properties.BeginInit();
            this.layoutControlGroup5.BeginInit();
            this.lcHealth.BeginInit();
            this.lcHeight.BeginInit();
            this.lcWeight.BeginInit();
            this.cboInformatic.Properties.BeginInit();
            this.cboLanguage.Properties.BeginInit();
            this.cboEducation.Properties.BeginInit();
            this.txtEmail.Properties.BeginInit();
            this.txtHomePhone.Properties.BeginInit();
            this.txtCellPhone.Properties.BeginInit();
            this.cboMariage.Properties.BeginInit();
            this.grIDCard.BeginInit();
            this.grIDCard.SuspendLayout();
            this.layoutControl15.BeginInit();
            this.layoutControl15.SuspendLayout();
            this.txtIDCardPlace.Properties.BeginInit();
            this.dtIDCardDate.Properties.VistaTimeProperties.BeginInit();
            this.dtIDCardDate.Properties.BeginInit();
            this.txtIDCard.Properties.BeginInit();
            this.layoutControlGroup1.BeginInit();
            this.lcIDCard.BeginInit();
            this.lcIDCardDate.BeginInit();
            this.lcIDCardPlace.BeginInit();
            this.dtBirthday.Properties.VistaTimeProperties.BeginInit();
            this.dtBirthday.Properties.BeginInit();
            this.txtLastName.Properties.BeginInit();
            this.cheSex.Properties.BeginInit();
            this.imgPhoto.Properties.BeginInit();
            this.cboNationality.Properties.BeginInit();
            this.txtContactAddress.Properties.BeginInit();
            this.txtMainAddress.Properties.BeginInit();
            this.cboReligion.Properties.BeginInit();
            this.cboEthnic.Properties.BeginInit();
            this.txtBirthPlace.Properties.BeginInit();
            this.txtID.Properties.BeginInit();
            this.txtFirstName.Properties.BeginInit();
            this.layoutControlGroup14.BeginInit();
            this.lcNationality.BeginInit();
            this.lcCandidateCode.BeginInit();
            this.lcMainAddress.BeginInit();
            this.lcContactAddress.BeginInit();
            this.layoutControlItem11.BeginInit();
            this.layoutControlItem10.BeginInit();
            this.lcLastName.BeginInit();
            this.lcFirstName.BeginInit();
            this.lcBirthday.BeginInit();
            this.lcCellPhone.BeginInit();
            this.lcHomePhone.BeginInit();
            this.lcEmail.BeginInit();
            this.lcEthnic.BeginInit();
            this.lcReligion.BeginInit();
            this.lcEducation.BeginInit();
            this.lcLanguage.BeginInit();
            this.lcInformatic.BeginInit();
            this.layoutControlItem30.BeginInit();
            this.layoutControlItem34.BeginInit();
            this.lcBirthPlace.BeginInit();
            this.lcMarriage.BeginInit();
            this.tabRecruitmentInformation.SuspendLayout();
            this.txtDescription.Properties.BeginInit();
            this.grPersonContact.BeginInit();
            this.grPersonContact.SuspendLayout();
            this.layoutControl16.BeginInit();
            this.layoutControl16.SuspendLayout();
            this.txtPersonAddress.Properties.BeginInit();
            this.cboPersonJob.Properties.BeginInit();
            this.txtPersonPhone.Properties.BeginInit();
            this.txtPersonName.Properties.BeginInit();
            this.layoutControlGroup15.BeginInit();
            this.lcPersonName.BeginInit();
            this.lcPersonJob.BeginInit();
            this.lcPersonAddress.BeginInit();
            this.lcPersonPhone.BeginInit();
            this.grPosition.BeginInit();
            this.grPosition.SuspendLayout();
            this.layoutControl17.BeginInit();
            this.layoutControl17.SuspendLayout();
            this.cboPosition1.Properties.BeginInit();
            this.cboPosition2.Properties.BeginInit();
            this.calExpectSalary.Properties.BeginInit();
            this.cboStatus.Properties.BeginInit();
            this.layoutControlGroup16.BeginInit();
            this.lcExpectSalary.BeginInit();
            this.lcPosition2.BeginInit();
            this.lcPosition1.BeginInit();
            this.lcStatus.BeginInit();
            this.grWorkInformation.BeginInit();
            this.grWorkInformation.SuspendLayout();
            this.layoutControl18.BeginInit();
            this.layoutControl18.SuspendLayout();
            this.chcDegree.Properties.BeginInit();
            this.cboProfessional.Properties.BeginInit();
            this.cboJob.Properties.BeginInit();
            this.dtInputFileDate.Properties.VistaTimeProperties.BeginInit();
            this.dtInputFileDate.Properties.BeginInit();
            this.calExperience.Properties.BeginInit();
            this.layoutControlGroup17.BeginInit();
            this.lcExperience.BeginInit();
            this.lcInputFileDate.BeginInit();
            this.lcJob.BeginInit();
            this.lcProfessional.BeginInit();
            this.lcDegree.BeginInit();
            this.glkRecruitment.Properties.BeginInit();
            this.gridView1.BeginInit();
            base.SuspendLayout();
            base.btnSave.Location = new Point(0x16d, 0x174);
            base.btnSave.TabIndex = 3;
            base.btnCancel.Location = new Point(0x238, 0x174);
            base.btnCancel.TabIndex = 5;
            base.btnSaveNew.Location = new Point(0x1d1, 0x174);
            base.btnSaveNew.TabIndex = 4;
            base.imageCollection2.ImageStream = (ImageCollectionStreamer) manager.GetObject("imageCollection2.ImageStream");
            this.xtraTabControl1.HeaderButtons = TabButtons.Default | TabButtons.Next | TabButtons.Prev;
            this.xtraTabControl1.HeaderButtonsShowMode = TabButtonShowMode.Always;
            this.xtraTabControl1.ImeMode = ImeMode.NoControl;
            this.xtraTabControl1.Location = new Point(5, 5);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.tabBasicInformation;
            this.xtraTabControl1.Size = new Size(0x29b, 0x169);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new XtraTabPage[] { this.tabBasicInformation, this.tabRecruitmentInformation });
            this.tabBasicInformation.Controls.Add(this.layoutControl5);
            this.tabBasicInformation.Name = "tabBasicInformation";
            this.tabBasicInformation.Size = new Size(660, 0x14c);
            this.tabBasicInformation.Text = "Th\x00f4ng Tin C\x00e1 Nh\x00e2n";
            this.layoutControl5.Controls.Add(this.grHealth);
            this.layoutControl5.Controls.Add(this.cboInformatic);
            this.layoutControl5.Controls.Add(this.cboLanguage);
            this.layoutControl5.Controls.Add(this.cboEducation);
            this.layoutControl5.Controls.Add(this.txtEmail);
            this.layoutControl5.Controls.Add(this.txtHomePhone);
            this.layoutControl5.Controls.Add(this.txtCellPhone);
            this.layoutControl5.Controls.Add(this.cboMariage);
            this.layoutControl5.Controls.Add(this.grIDCard);
            this.layoutControl5.Controls.Add(this.dtBirthday);
            this.layoutControl5.Controls.Add(this.txtLastName);
            this.layoutControl5.Controls.Add(this.cheSex);
            this.layoutControl5.Controls.Add(this.imgPhoto);
            this.layoutControl5.Controls.Add(this.cboNationality);
            this.layoutControl5.Controls.Add(this.txtContactAddress);
            this.layoutControl5.Controls.Add(this.txtMainAddress);
            this.layoutControl5.Controls.Add(this.cboReligion);
            this.layoutControl5.Controls.Add(this.cboEthnic);
            this.layoutControl5.Controls.Add(this.txtBirthPlace);
            this.layoutControl5.Controls.Add(this.txtID);
            this.layoutControl5.Controls.Add(this.txtFirstName);
            this.layoutControl5.Dock = DockStyle.Fill;
            this.layoutControl5.Location = new Point(0, 0);
            this.layoutControl5.Name = "layoutControl5";
            this.layoutControl5.OptionsView.AllowHotTrack = true;
            this.layoutControl5.OptionsView.HighlightDisabledItem = true;
            this.layoutControl5.OptionsView.HighlightFocusedItem = true;
            this.layoutControl5.Root = this.layoutControlGroup14;
            this.layoutControl5.Size = new Size(660, 0x14c);
            this.layoutControl5.TabIndex = 2;
            this.layoutControl5.Text = "layoutControl5";
            this.grHealth.Controls.Add(this.layoutControl14);
            this.grHealth.Location = new Point(0x14c, 0xe0);
            this.grHealth.Name = "grHealth";
            this.grHealth.Size = new Size(0x146, 0x6a);
            this.grHealth.TabIndex = 20;
            this.grHealth.Text = "T\x00ecnh Trạng Sức Khỏe";
            this.layoutControl14.Controls.Add(this.calWeight);
            this.layoutControl14.Controls.Add(this.calHeight);
            this.layoutControl14.Controls.Add(this.txtHealth);
            this.layoutControl14.Dock = DockStyle.Fill;
            this.layoutControl14.Location = new Point(2, 0x16);
            this.layoutControl14.Name = "layoutControl14";
            this.layoutControl14.OptionsView.AllowHotTrack = true;
            this.layoutControl14.OptionsView.HighlightDisabledItem = true;
            this.layoutControl14.OptionsView.HighlightFocusedItem = true;
            this.layoutControl14.Root = this.layoutControlGroup5;
            this.layoutControl14.Size = new Size(0x142, 0x52);
            this.layoutControl14.TabIndex = 0;
            this.layoutControl14.Text = "layoutControl14";
            this.calWeight.Location = new Point(0xf2, 30);
            this.calWeight.Name = "calWeight";
            this.calWeight.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calWeight.Size = new Size(0x4a, 20);
            this.calWeight.StyleController = this.layoutControl14;
            this.calWeight.TabIndex = 2;
            this.calHeight.Location = new Point(0x6d, 30);
            this.calHeight.Name = "calHeight";
            this.calHeight.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calHeight.Size = new Size(0x4a, 20);
            this.calHeight.StyleController = this.layoutControl14;
            this.calHeight.TabIndex = 1;
            this.txtHealth.Location = new Point(0x6d, 6);
            this.txtHealth.Name = "txtHealth";
            this.txtHealth.Size = new Size(0xcf, 20);
            this.txtHealth.StyleController = this.layoutControl14;
            this.txtHealth.TabIndex = 0;
            this.layoutControlGroup5.CustomizationFormText = "layoutControlGroup5";
            this.layoutControlGroup5.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup5.GroupBordersVisible = false;
            this.layoutControlGroup5.Items.AddRange(new BaseLayoutItem[] { this.lcHealth, this.lcHeight, this.lcWeight });
            this.layoutControlGroup5.Location = new Point(0, 0);
            this.layoutControlGroup5.Name = "layoutControlGroup5";
            this.layoutControlGroup5.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup5.Size = new Size(0x142, 0x52);
            this.layoutControlGroup5.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup5.Text = "layoutControlGroup5";
            this.layoutControlGroup5.TextVisible = false;
            this.lcHealth.Control = this.txtHealth;
            this.lcHealth.CustomizationFormText = "T\x00ecnh trạng sức khỏe:";
            this.lcHealth.Location = new Point(0, 0);
            this.lcHealth.Name = "lcHealth";
            this.lcHealth.Size = new Size(0x13a, 0x18);
            this.lcHealth.Text = "T\x00ecnh trạng sức khỏe:";
            this.lcHealth.TextSize = new Size(0x63, 13);
            this.lcHeight.Control = this.calHeight;
            this.lcHeight.CustomizationFormText = "Chiều cao:";
            this.lcHeight.Location = new Point(0, 0x18);
            this.lcHeight.Name = "lcHeight";
            this.lcHeight.Size = new Size(0xb5, 50);
            this.lcHeight.Text = "Chiều cao:";
            this.lcHeight.TextSize = new Size(0x63, 13);
            this.lcWeight.Control = this.calWeight;
            this.lcWeight.CustomizationFormText = "C\x00e2n nặng:";
            this.lcWeight.Location = new Point(0xb5, 0x18);
            this.lcWeight.Name = "lcWeight";
            this.lcWeight.Size = new Size(0x85, 50);
            this.lcWeight.Text = "C\x00e2n nặng:";
            this.lcWeight.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcWeight.TextSize = new Size(50, 13);
            this.lcWeight.TextToControlDistance = 5;
            this.cboInformatic.Location = new Point(0x1b5, 0xc6);
            this.cboInformatic.Name = "cboInformatic";
            this.cboInformatic.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboInformatic.Properties.Buttons"), new KeyShortcut(Keys.None), appearance, "", null, null, true) });
            this.cboInformatic.Size = new Size(0xdd, 0x16);
            this.cboInformatic.StyleController = this.layoutControl5;
            this.cboInformatic.TabIndex = 0x12;
            this.cboInformatic.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboLanguage.Location = new Point(0x6b, 0xc6);
            this.cboLanguage.Name = "cboLanguage";
            this.cboLanguage.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboLanguage.Properties.Buttons"), new KeyShortcut(Keys.None), obj3, "", null, null, true) });
            this.cboLanguage.Size = new Size(0xdd, 0x16);
            this.cboLanguage.StyleController = this.layoutControl5;
            this.cboLanguage.TabIndex = 0x11;
            this.cboLanguage.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboEducation.Location = new Point(0x1b5, 0xac);
            this.cboEducation.Name = "cboEducation";
            this.cboEducation.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboEducation.Properties.Buttons"), new KeyShortcut(Keys.None), obj4, "", null, null, true) });
            this.cboEducation.Size = new Size(0xdd, 0x16);
            this.cboEducation.StyleController = this.layoutControl5;
            this.cboEducation.TabIndex = 0x10;
            this.cboEducation.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtEmail.Location = new Point(0x19f, 0x7a);
            this.txtEmail.Name = "txtEmail";
            this.txtEmail.Size = new Size(0xf3, 20);
            this.txtEmail.StyleController = this.layoutControl5;
            this.txtEmail.TabIndex = 12;
            this.txtHomePhone.Location = new Point(0x121, 0x7a);
            this.txtHomePhone.Name = "txtHomePhone";
            this.txtHomePhone.Size = new Size(0x59, 20);
            this.txtHomePhone.StyleController = this.layoutControl5;
            this.txtHomePhone.TabIndex = 11;
            this.txtCellPhone.Location = new Point(0x6b, 0x7a);
            this.txtCellPhone.Name = "txtCellPhone";
            this.txtCellPhone.Size = new Size(0x63, 20);
            this.txtCellPhone.StyleController = this.layoutControl5;
            this.txtCellPhone.TabIndex = 10;
            this.cboMariage.Location = new Point(0x1b5, 0x1a);
            this.cboMariage.Name = "cboMariage";
            this.cboMariage.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboMariage.Properties.Items.AddRange(new object[] { "Đ\x00e3 kết h\x00f4n", "Chưa kết h\x00f4n", "Đ\x00e3 ly h\x00f4n", "Mất chồng/Mất vợ" });
            this.cboMariage.Size = new Size(0xdd, 20);
            this.cboMariage.StyleController = this.layoutControl5;
            this.cboMariage.TabIndex = 6;
            this.grIDCard.Controls.Add(this.layoutControl15);
            this.grIDCard.Location = new Point(2, 0xe0);
            this.grIDCard.Name = "grIDCard";
            this.grIDCard.Size = new Size(0x146, 0x6a);
            this.grIDCard.TabIndex = 0x13;
            this.grIDCard.Text = "Chứng Minh Nh\x00e2n D\x00e2n";
            this.layoutControl15.Controls.Add(this.txtIDCardPlace);
            this.layoutControl15.Controls.Add(this.dtIDCardDate);
            this.layoutControl15.Controls.Add(this.txtIDCard);
            this.layoutControl15.Dock = DockStyle.Fill;
            this.layoutControl15.Location = new Point(2, 0x16);
            this.layoutControl15.Name = "layoutControl15";
            this.layoutControl15.OptionsView.AllowHotTrack = true;
            this.layoutControl15.OptionsView.HighlightDisabledItem = true;
            this.layoutControl15.OptionsView.HighlightFocusedItem = true;
            this.layoutControl15.Root = this.layoutControlGroup1;
            this.layoutControl15.Size = new Size(0x142, 0x52);
            this.layoutControl15.TabIndex = 0;
            this.layoutControl15.Text = "layoutControl15";
            this.txtIDCardPlace.Location = new Point(0x3b, 30);
            this.txtIDCardPlace.Name = "txtIDCardPlace";
            this.txtIDCardPlace.Size = new Size(0x101, 20);
            this.txtIDCardPlace.StyleController = this.layoutControl15;
            this.txtIDCardPlace.TabIndex = 2;
            this.dtIDCardDate.EditValue = null;
            this.dtIDCardDate.Location = new Point(230, 6);
            this.dtIDCardDate.Name = "dtIDCardDate";
            this.dtIDCardDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtIDCardDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtIDCardDate.Size = new Size(0x56, 20);
            this.dtIDCardDate.StyleController = this.layoutControl15;
            this.dtIDCardDate.TabIndex = 1;
            this.txtIDCard.Location = new Point(0x3b, 6);
            this.txtIDCard.Name = "txtIDCard";
            this.txtIDCard.Size = new Size(0x72, 20);
            this.txtIDCard.StyleController = this.layoutControl15;
            this.txtIDCard.TabIndex = 0;
            this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup4";
            this.layoutControlGroup1.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup1.GroupBordersVisible = false;
            this.layoutControlGroup1.Items.AddRange(new BaseLayoutItem[] { this.lcIDCard, this.lcIDCardDate, this.lcIDCardPlace });
            this.layoutControlGroup1.Location = new Point(0, 0);
            this.layoutControlGroup1.Name = "layoutControlGroup4";
            this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup1.Size = new Size(0x142, 0x52);
            this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup1.Text = "layoutControlGroup4";
            this.layoutControlGroup1.TextVisible = false;
            this.lcIDCard.Control = this.txtIDCard;
            this.lcIDCard.CustomizationFormText = "Số CMND:";
            this.lcIDCard.Location = new Point(0, 0);
            this.lcIDCard.Name = "lcIDCard";
            this.lcIDCard.Size = new Size(0xab, 0x18);
            this.lcIDCard.Text = "Số CMND:";
            this.lcIDCard.TextSize = new Size(0x31, 13);
            this.lcIDCardDate.Control = this.dtIDCardDate;
            this.lcIDCardDate.CustomizationFormText = "Ng\x00e0y cấp:";
            this.lcIDCardDate.Location = new Point(0xab, 0);
            this.lcIDCardDate.Name = "lcIDCardDate";
            this.lcIDCardDate.Size = new Size(0x8f, 0x18);
            this.lcIDCardDate.Text = "Ng\x00e0y cấp:";
            this.lcIDCardDate.TextSize = new Size(0x31, 13);
            this.lcIDCardPlace.Control = this.txtIDCardPlace;
            this.lcIDCardPlace.CustomizationFormText = "Nơi cấp:";
            this.lcIDCardPlace.Location = new Point(0, 0x18);
            this.lcIDCardPlace.Name = "lcIDCardPlace";
            this.lcIDCardPlace.Size = new Size(0x13a, 50);
            this.lcIDCardPlace.Text = "Nơi cấp:";
            this.lcIDCardPlace.TextSize = new Size(0x31, 13);
            this.dtBirthday.EditValue = null;
            this.dtBirthday.Location = new Point(0xd6, 0x1a);
            this.dtBirthday.Name = "dtBirthday";
            this.dtBirthday.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtBirthday.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtBirthday.Size = new Size(0x72, 20);
            this.dtBirthday.StyleController = this.layoutControl5;
            this.dtBirthday.TabIndex = 5;
            this.txtLastName.Location = new Point(0x219, 2);
            this.txtLastName.Name = "txtLastName";
            this.txtLastName.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.txtLastName.Properties.Appearance.Options.UseFont = true;
            this.txtLastName.Size = new Size(0x49, 20);
            this.txtLastName.StyleController = this.layoutControl5;
            this.txtLastName.TabIndex = 3;
            this.cheSex.Location = new Point(0x266, 2);
            this.cheSex.Name = "cheSex";
            this.cheSex.Properties.Caption = "Nam";
            this.cheSex.Size = new Size(0x2c, 0x13);
            this.cheSex.StyleController = this.layoutControl5;
            this.cheSex.TabIndex = 4;
            this.imgPhoto.Location = new Point(2, 2);
            this.imgPhoto.Name = "imgPhoto";
            this.imgPhoto.Properties.NullText = "[Chưa c\x00f3 h\x00ecnh]";
            this.imgPhoto.Properties.SizeMode = PictureSizeMode.Zoom;
            this.imgPhoto.Size = new Size(0x67, 0x74);
            this.imgPhoto.StyleController = this.layoutControl5;
            this.imgPhoto.TabIndex = 0;
            this.cboNationality.Location = new Point(0x6b, 0x92);
            this.cboNationality.Name = "cboNationality";
            this.cboNationality.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboNationality.Properties.Buttons"), new KeyShortcut(Keys.None), obj5, "", null, null, true) });
            this.cboNationality.Size = new Size(0xdd, 0x16);
            this.cboNationality.StyleController = this.layoutControl5;
            this.cboNationality.TabIndex = 13;
            this.cboNationality.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtContactAddress.Location = new Point(0xd6, 0x62);
            this.txtContactAddress.Name = "txtContactAddress";
            this.txtContactAddress.Size = new Size(0x1bc, 20);
            this.txtContactAddress.StyleController = this.layoutControl5;
            this.txtContactAddress.TabIndex = 9;
            this.txtMainAddress.Location = new Point(0xd6, 0x4a);
            this.txtMainAddress.Name = "txtMainAddress";
            this.txtMainAddress.Size = new Size(0x1bc, 20);
            this.txtMainAddress.StyleController = this.layoutControl5;
            this.txtMainAddress.TabIndex = 8;
            this.cboReligion.Location = new Point(0x6b, 0xac);
            this.cboReligion.Name = "cboReligion";
            this.cboReligion.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboReligion.Properties.Buttons"), new KeyShortcut(Keys.None), obj6, "", null, null, true) });
            this.cboReligion.Size = new Size(0xdd, 0x16);
            this.cboReligion.StyleController = this.layoutControl5;
            this.cboReligion.TabIndex = 15;
            this.cboReligion.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboEthnic.Location = new Point(0x1b5, 0x92);
            this.cboEthnic.Name = "cboEthnic";
            this.cboEthnic.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboEthnic.Properties.Buttons"), new KeyShortcut(Keys.None), obj7, "", null, null, true) });
            this.cboEthnic.Size = new Size(0xdd, 0x16);
            this.cboEthnic.StyleController = this.layoutControl5;
            this.cboEthnic.TabIndex = 14;
            this.cboEthnic.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtBirthPlace.Location = new Point(0xd6, 50);
            this.txtBirthPlace.Name = "txtBirthPlace";
            this.txtBirthPlace.Size = new Size(0x1bc, 20);
            this.txtBirthPlace.StyleController = this.layoutControl5;
            this.txtBirthPlace.TabIndex = 7;
            this.txtID.Location = new Point(0xd6, 2);
            this.txtID.Name = "txtID";
            this.txtID.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.txtID.Properties.Appearance.Options.UseFont = true;
            this.txtID.Size = new Size(0x57, 20);
            this.txtID.StyleController = this.layoutControl5;
            this.txtID.TabIndex = 1;
            this.txtID.EditValueChanged += new EventHandler(this.txtID_EditValueChanged);
            this.txtID.KeyDown += new KeyEventHandler(this.txtID_KeyDown);
            this.txtFirstName.Location = new Point(0x16a, 2);
            this.txtFirstName.Name = "txtFirstName";
            this.txtFirstName.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.txtFirstName.Properties.Appearance.Options.UseFont = true;
            this.txtFirstName.Size = new Size(0x7f, 20);
            this.txtFirstName.StyleController = this.layoutControl5;
            this.txtFirstName.TabIndex = 2;
            this.layoutControlGroup14.CustomizationFormText = "layoutControlGroup1";
            this.layoutControlGroup14.GroupBordersVisible = false;
            this.layoutControlGroup14.Items.AddRange(new BaseLayoutItem[] { 
                this.lcNationality, this.lcCandidateCode, this.lcMainAddress, this.lcContactAddress, this.layoutControlItem11, this.layoutControlItem10, this.lcLastName, this.lcFirstName, this.lcBirthday, this.lcCellPhone, this.lcHomePhone, this.lcEmail, this.lcEthnic, this.lcReligion, this.lcEducation, this.lcLanguage, 
                this.lcInformatic, this.layoutControlItem30, this.layoutControlItem34, this.lcBirthPlace, this.lcMarriage
             });
            this.layoutControlGroup14.Location = new Point(0, 0);
            this.layoutControlGroup14.Name = "layoutControlGroup1";
            this.layoutControlGroup14.Size = new Size(660, 0x14c);
            this.layoutControlGroup14.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup14.Text = "layoutControlGroup1";
            this.layoutControlGroup14.TextVisible = false;
            this.lcNationality.Control = this.cboNationality;
            this.lcNationality.CustomizationFormText = "layoutControlItem7";
            this.lcNationality.Location = new Point(0, 0x90);
            this.lcNationality.Name = "lcNationality";
            this.lcNationality.Size = new Size(330, 0x1a);
            this.lcNationality.Text = "Quốc tịch:";
            this.lcNationality.TextSize = new Size(0x65, 13);
            this.lcCandidateCode.AllowHtmlStringInCaption = true;
            this.lcCandidateCode.Control = this.txtID;
            this.lcCandidateCode.CustomizationFormText = "layoutControlItem2";
            this.lcCandidateCode.Location = new Point(0x6b, 0);
            this.lcCandidateCode.Name = "lcCandidateCode";
            this.lcCandidateCode.Size = new Size(0xc4, 0x18);
            this.lcCandidateCode.Text = "M\x00e3 ứng vi\x00ean <color=red>(*)</color>:";
            this.lcCandidateCode.TextSize = new Size(0x65, 14);
            this.lcMainAddress.Control = this.txtMainAddress;
            this.lcMainAddress.CustomizationFormText = "layoutControlItem5";
            this.lcMainAddress.Location = new Point(0x6b, 0x48);
            this.lcMainAddress.Name = "lcMainAddress";
            this.lcMainAddress.Size = new Size(0x229, 0x18);
            this.lcMainAddress.Text = "Địa chỉ (*):";
            this.lcMainAddress.TextSize = new Size(0x65, 13);
            this.lcContactAddress.Control = this.txtContactAddress;
            this.lcContactAddress.CustomizationFormText = "layoutControlItem6";
            this.lcContactAddress.Location = new Point(0x6b, 0x60);
            this.lcContactAddress.Name = "lcContactAddress";
            this.lcContactAddress.Size = new Size(0x229, 0x18);
            this.lcContactAddress.Text = "Tạm tr\x00fa:";
            this.lcContactAddress.TextSize = new Size(0x65, 13);
            this.layoutControlItem11.Control = this.imgPhoto;
            this.layoutControlItem11.CustomizationFormText = "layoutControlItem11";
            this.layoutControlItem11.Location = new Point(0, 0);
            this.layoutControlItem11.Name = "layoutControlItem11";
            this.layoutControlItem11.Size = new Size(0x6b, 120);
            this.layoutControlItem11.Text = "layoutControlItem11";
            this.layoutControlItem11.TextSize = new Size(0, 0);
            this.layoutControlItem11.TextToControlDistance = 0;
            this.layoutControlItem11.TextVisible = false;
            this.layoutControlItem10.Control = this.cheSex;
            this.layoutControlItem10.CustomizationFormText = "layoutControlItem10";
            this.layoutControlItem10.Location = new Point(0x264, 0);
            this.layoutControlItem10.Name = "layoutControlItem10";
            this.layoutControlItem10.Size = new Size(0x30, 0x18);
            this.layoutControlItem10.Text = "layoutControlItem10";
            this.layoutControlItem10.TextSize = new Size(0, 0);
            this.layoutControlItem10.TextToControlDistance = 0;
            this.layoutControlItem10.TextVisible = false;
            this.lcLastName.AllowHtmlStringInCaption = true;
            this.lcLastName.Control = this.txtLastName;
            this.lcLastName.CustomizationFormText = "T\x00ean:";
            this.lcLastName.Location = new Point(0x1eb, 0);
            this.lcLastName.Name = "lcLastName";
            this.lcLastName.Size = new Size(0x79, 0x18);
            this.lcLastName.Text = "T\x00ean <color=red>(*)</color>:";
            this.lcLastName.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcLastName.TextSize = new Size(0x27, 14);
            this.lcLastName.TextToControlDistance = 5;
            this.lcFirstName.AllowHtmlStringInCaption = true;
            this.lcFirstName.Control = this.txtFirstName;
            this.lcFirstName.CustomizationFormText = "layoutControlItem3";
            this.lcFirstName.Location = new Point(0x12f, 0);
            this.lcFirstName.MinSize = new Size(0x97, 0x18);
            this.lcFirstName.Name = "lcFirstName";
            this.lcFirstName.Size = new Size(0xbc, 0x18);
            this.lcFirstName.SizeConstraintsType = SizeConstraintsType.Custom;
            this.lcFirstName.Text = "Họ L\x00f3t <color=red>(*)</color>:";
            this.lcFirstName.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcFirstName.TextSize = new Size(0x34, 14);
            this.lcFirstName.TextToControlDistance = 5;
            this.lcBirthday.Control = this.dtBirthday;
            this.lcBirthday.CustomizationFormText = "Ng\x00e0y sinh (*):";
            this.lcBirthday.Location = new Point(0x6b, 0x18);
            this.lcBirthday.Name = "lcBirthday";
            this.lcBirthday.Size = new Size(0xdf, 0x18);
            this.lcBirthday.Text = "Ng\x00e0y sinh (*):";
            this.lcBirthday.TextSize = new Size(0x65, 13);
            this.lcCellPhone.Control = this.txtCellPhone;
            this.lcCellPhone.CustomizationFormText = "Điện thoại di động:";
            this.lcCellPhone.Location = new Point(0, 120);
            this.lcCellPhone.Name = "lcCellPhone";
            this.lcCellPhone.Size = new Size(0xd0, 0x18);
            this.lcCellPhone.Text = "Điện thoại di động:";
            this.lcCellPhone.TextSize = new Size(0x65, 13);
            this.lcHomePhone.Control = this.txtHomePhone;
            this.lcHomePhone.CustomizationFormText = "Điện thoại nh\x00e0:";
            this.lcHomePhone.Location = new Point(0xd0, 120);
            this.lcHomePhone.Name = "lcHomePhone";
            this.lcHomePhone.Size = new Size(0xac, 0x18);
            this.lcHomePhone.Text = "Điện thoại nh\x00e0:";
            this.lcHomePhone.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcHomePhone.TextSize = new Size(0x4a, 13);
            this.lcHomePhone.TextToControlDistance = 5;
            this.lcEmail.Control = this.txtEmail;
            this.lcEmail.CustomizationFormText = "Email:";
            this.lcEmail.Location = new Point(380, 120);
            this.lcEmail.Name = "lcEmail";
            this.lcEmail.Size = new Size(280, 0x18);
            this.lcEmail.Text = "Email:";
            this.lcEmail.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcEmail.TextSize = new Size(0x1c, 13);
            this.lcEmail.TextToControlDistance = 5;
            this.lcEthnic.Control = this.cboEthnic;
            this.lcEthnic.CustomizationFormText = "layoutControlItem8";
            this.lcEthnic.Location = new Point(330, 0x90);
            this.lcEthnic.Name = "lcEthnic";
            this.lcEthnic.Size = new Size(330, 0x1a);
            this.lcEthnic.Text = "D\x00e2n tộc:";
            this.lcEthnic.TextSize = new Size(0x65, 13);
            this.lcReligion.Control = this.cboReligion;
            this.lcReligion.CustomizationFormText = "layoutControlItem9";
            this.lcReligion.Location = new Point(0, 170);
            this.lcReligion.Name = "lcReligion";
            this.lcReligion.Size = new Size(330, 0x1a);
            this.lcReligion.Text = "T\x00f4n gi\x00e1o:";
            this.lcReligion.TextSize = new Size(0x65, 13);
            this.lcEducation.Control = this.cboEducation;
            this.lcEducation.CustomizationFormText = "Học vấn:";
            this.lcEducation.Location = new Point(330, 170);
            this.lcEducation.Name = "lcEducation";
            this.lcEducation.Size = new Size(330, 0x1a);
            this.lcEducation.Text = "Học vấn:";
            this.lcEducation.TextSize = new Size(0x65, 13);
            this.lcLanguage.Control = this.cboLanguage;
            this.lcLanguage.CustomizationFormText = "Ngoại ngữ:";
            this.lcLanguage.Location = new Point(0, 0xc4);
            this.lcLanguage.Name = "lcLanguage";
            this.lcLanguage.Size = new Size(330, 0x1a);
            this.lcLanguage.Text = "Ngoại ngữ:";
            this.lcLanguage.TextSize = new Size(0x65, 13);
            this.lcInformatic.Control = this.cboInformatic;
            this.lcInformatic.CustomizationFormText = "Tin học:";
            this.lcInformatic.Location = new Point(330, 0xc4);
            this.lcInformatic.Name = "lcInformatic";
            this.lcInformatic.Size = new Size(330, 0x1a);
            this.lcInformatic.Text = "Tin học:";
            this.lcInformatic.TextSize = new Size(0x65, 13);
            this.layoutControlItem30.Control = this.grIDCard;
            this.layoutControlItem30.CustomizationFormText = "layoutControlItem30";
            this.layoutControlItem30.Location = new Point(0, 0xde);
            this.layoutControlItem30.Name = "layoutControlItem30";
            this.layoutControlItem30.Size = new Size(330, 110);
            this.layoutControlItem30.Text = "layoutControlItem30";
            this.layoutControlItem30.TextSize = new Size(0, 0);
            this.layoutControlItem30.TextToControlDistance = 0;
            this.layoutControlItem30.TextVisible = false;
            this.layoutControlItem34.Control = this.grHealth;
            this.layoutControlItem34.CustomizationFormText = "layoutControlItem34";
            this.layoutControlItem34.Location = new Point(330, 0xde);
            this.layoutControlItem34.Name = "layoutControlItem34";
            this.layoutControlItem34.Size = new Size(330, 110);
            this.layoutControlItem34.Text = "layoutControlItem34";
            this.layoutControlItem34.TextSize = new Size(0, 0);
            this.layoutControlItem34.TextToControlDistance = 0;
            this.layoutControlItem34.TextVisible = false;
            this.lcBirthPlace.Control = this.txtBirthPlace;
            this.lcBirthPlace.CustomizationFormText = "layoutControlItem4";
            this.lcBirthPlace.Location = new Point(0x6b, 0x30);
            this.lcBirthPlace.Name = "lcBirthPlace";
            this.lcBirthPlace.Size = new Size(0x229, 0x18);
            this.lcBirthPlace.Text = "Nơi sinh (*):";
            this.lcBirthPlace.TextSize = new Size(0x65, 13);
            this.lcMarriage.Control = this.cboMariage;
            this.lcMarriage.CustomizationFormText = "T\x00ecnh trạng h\x00f4n nh\x00e2n:";
            this.lcMarriage.Location = new Point(330, 0x18);
            this.lcMarriage.Name = "lcMarriage";
            this.lcMarriage.Size = new Size(330, 0x18);
            this.lcMarriage.Text = "T\x00ecnh trạng h\x00f4n nh\x00e2n:";
            this.lcMarriage.TextSize = new Size(0x65, 13);
            this.tabRecruitmentInformation.Controls.Add(this.lcDescription);
            this.tabRecruitmentInformation.Controls.Add(this.txtDescription);
            this.tabRecruitmentInformation.Controls.Add(this.grPersonContact);
            this.tabRecruitmentInformation.Controls.Add(this.grPosition);
            this.tabRecruitmentInformation.Controls.Add(this.grWorkInformation);
            this.tabRecruitmentInformation.Name = "tabRecruitmentInformation";
            this.tabRecruitmentInformation.Size = new Size(660, 0x14c);
            this.tabRecruitmentInformation.Text = "Th\x00f4ng Tin Tuyển Dụng";
            this.lcDescription.Location = new Point(14, 290);
            this.lcDescription.Name = "lcDescription";
            this.lcDescription.Size = new Size(0x27, 13);
            this.lcDescription.TabIndex = 3;
            this.lcDescription.Text = "Ghi ch\x00fa:";
            this.txtDescription.Location = new Point(0x54, 0x120);
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.Size = new Size(0x23b, 20);
            this.txtDescription.TabIndex = 4;
            this.grPersonContact.Controls.Add(this.layoutControl16);
            this.grPersonContact.Location = new Point(6, 0xbb);
            this.grPersonContact.Name = "grPersonContact";
            this.grPersonContact.Size = new Size(0x288, 0x59);
            this.grPersonContact.TabIndex = 2;
            this.grPersonContact.Text = "Th\x00f4ng Tin Người Li\x00ean Hệ";
            this.layoutControl16.Controls.Add(this.txtPersonAddress);
            this.layoutControl16.Controls.Add(this.cboPersonJob);
            this.layoutControl16.Controls.Add(this.txtPersonPhone);
            this.layoutControl16.Controls.Add(this.txtPersonName);
            this.layoutControl16.Dock = DockStyle.Fill;
            this.layoutControl16.Location = new Point(2, 0x16);
            this.layoutControl16.Name = "layoutControl16";
            this.layoutControl16.OptionsView.AllowHotTrack = true;
            this.layoutControl16.OptionsView.HighlightDisabledItem = true;
            this.layoutControl16.OptionsView.HighlightFocusedItem = true;
            this.layoutControl16.Root = this.layoutControlGroup15;
            this.layoutControl16.Size = new Size(0x284, 0x41);
            this.layoutControl16.TabIndex = 0;
            this.layoutControl16.Text = "layoutControl16";
            this.txtPersonAddress.Location = new Point(0x4c, 0x20);
            this.txtPersonAddress.Name = "txtPersonAddress";
            this.txtPersonAddress.Size = new Size(0xf4, 20);
            this.txtPersonAddress.StyleController = this.layoutControl16;
            this.txtPersonAddress.TabIndex = 2;
            this.cboPersonJob.Location = new Point(0x18a, 6);
            this.cboPersonJob.Name = "cboPersonJob";
            this.cboPersonJob.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboPersonJob.Properties.Buttons"), new KeyShortcut(Keys.None), obj8, "", null, null, true) });
            this.cboPersonJob.Size = new Size(0xf4, 0x16);
            this.cboPersonJob.StyleController = this.layoutControl16;
            this.cboPersonJob.TabIndex = 1;
            this.cboPersonJob.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtPersonPhone.Location = new Point(0x18a, 0x20);
            this.txtPersonPhone.Name = "txtPersonPhone";
            this.txtPersonPhone.Size = new Size(0xf4, 20);
            this.txtPersonPhone.StyleController = this.layoutControl16;
            this.txtPersonPhone.TabIndex = 3;
            this.txtPersonName.Location = new Point(0x4c, 6);
            this.txtPersonName.Name = "txtPersonName";
            this.txtPersonName.Size = new Size(0xf4, 20);
            this.txtPersonName.StyleController = this.layoutControl16;
            this.txtPersonName.TabIndex = 0;
            this.layoutControlGroup15.CustomizationFormText = "layoutControlGroup7";
            this.layoutControlGroup15.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup15.GroupBordersVisible = false;
            this.layoutControlGroup15.Items.AddRange(new BaseLayoutItem[] { this.lcPersonName, this.lcPersonJob, this.lcPersonAddress, this.lcPersonPhone });
            this.layoutControlGroup15.Location = new Point(0, 0);
            this.layoutControlGroup15.Name = "layoutControlGroup7";
            this.layoutControlGroup15.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup15.Size = new Size(0x284, 0x41);
            this.layoutControlGroup15.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup15.Text = "layoutControlGroup7";
            this.layoutControlGroup15.TextVisible = false;
            this.lcPersonName.Control = this.txtPersonName;
            this.lcPersonName.CustomizationFormText = "Số sổ:";
            this.lcPersonName.Location = new Point(0, 0);
            this.lcPersonName.Name = "lcPersonName";
            this.lcPersonName.Size = new Size(0x13e, 0x1a);
            this.lcPersonName.Text = "Họ t\x00ean:";
            this.lcPersonName.TextSize = new Size(0x42, 13);
            this.lcPersonJob.Control = this.cboPersonJob;
            this.lcPersonJob.CustomizationFormText = "Nghề Nghiệp:";
            this.lcPersonJob.Location = new Point(0x13e, 0);
            this.lcPersonJob.Name = "lcPersonJob";
            this.lcPersonJob.Size = new Size(0x13e, 0x1a);
            this.lcPersonJob.Text = "Nghề nghiệp:";
            this.lcPersonJob.TextSize = new Size(0x42, 13);
            this.lcPersonAddress.Control = this.txtPersonAddress;
            this.lcPersonAddress.CustomizationFormText = "Địa chỉ:";
            this.lcPersonAddress.Location = new Point(0, 0x1a);
            this.lcPersonAddress.Name = "lcPersonAddress";
            this.lcPersonAddress.Size = new Size(0x13e, 0x1f);
            this.lcPersonAddress.Text = "Địa chỉ:";
            this.lcPersonAddress.TextSize = new Size(0x42, 13);
            this.lcPersonPhone.Control = this.txtPersonPhone;
            this.lcPersonPhone.CustomizationFormText = "Nơi cấp:";
            this.lcPersonPhone.Location = new Point(0x13e, 0x1a);
            this.lcPersonPhone.Name = "lcPersonPhone";
            this.lcPersonPhone.Size = new Size(0x13e, 0x1f);
            this.lcPersonPhone.Text = "Số điện thoại:";
            this.lcPersonPhone.TextSize = new Size(0x42, 13);
            this.grPosition.Controls.Add(this.layoutControl17);
            this.grPosition.Location = new Point(0x14f, 5);
            this.grPosition.Name = "grPosition";
            this.grPosition.Size = new Size(0x13f, 0xb0);
            this.grPosition.TabIndex = 1;
            this.grPosition.Text = "Vị Tr\x00ed Tuyển Dụng";
            this.layoutControl17.Controls.Add(this.cboPosition1);
            this.layoutControl17.Controls.Add(this.cboPosition2);
            this.layoutControl17.Controls.Add(this.calExpectSalary);
            this.layoutControl17.Controls.Add(this.cboStatus);
            this.layoutControl17.Dock = DockStyle.Fill;
            this.layoutControl17.Location = new Point(2, 0x16);
            this.layoutControl17.Name = "layoutControl17";
            this.layoutControl17.OptionsView.AllowHotTrack = true;
            this.layoutControl17.OptionsView.HighlightDisabledItem = true;
            this.layoutControl17.OptionsView.HighlightFocusedItem = true;
            this.layoutControl17.Root = this.layoutControlGroup16;
            this.layoutControl17.Size = new Size(0x13b, 0x98);
            this.layoutControl17.TabIndex = 0;
            this.layoutControl17.Text = "layoutControl17";
            this.cboPosition1.Location = new Point(0x80, 12);
            this.cboPosition1.Name = "cboPosition1";
            this.cboPosition1.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboPosition1.Properties.Buttons"), new KeyShortcut(Keys.None), obj9, "", null, null, true) });
            this.cboPosition1.Size = new Size(0xaf, 0x16);
            this.cboPosition1.StyleController = this.layoutControl17;
            this.cboPosition1.TabIndex = 0;
            this.cboPosition1.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboPosition2.Location = new Point(0x80, 0x26);
            this.cboPosition2.Name = "cboPosition2";
            this.cboPosition2.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboPosition2.Properties.Buttons"), new KeyShortcut(Keys.None), obj10, "", null, null, true) });
            this.cboPosition2.Size = new Size(0xaf, 0x16);
            this.cboPosition2.StyleController = this.layoutControl17;
            this.cboPosition2.TabIndex = 1;
            this.cboPosition2.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.calExpectSalary.Location = new Point(0x80, 0x40);
            this.calExpectSalary.Name = "calExpectSalary";
            this.calExpectSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calExpectSalary.Properties.DisplayFormat.FormatString = "{0:##,##0}";
            this.calExpectSalary.Properties.EditFormat.FormatString = "{0:##,##0}";
            this.calExpectSalary.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calExpectSalary.Size = new Size(0xaf, 20);
            this.calExpectSalary.StyleController = this.layoutControl17;
            this.calExpectSalary.TabIndex = 2;
            this.cboStatus.Location = new Point(0x80, 0x58);
            this.cboStatus.Name = "cboStatus";
            this.cboStatus.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.cboStatus.Properties.Appearance.Options.UseFont = true;
            this.cboStatus.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboStatus.Properties.Items.AddRange(new object[] { "Chưa tr\x00fang tuyển", "Đ\x00e3 đậu phần thi tuyển", "Đ\x00e3 đậu phần phỏng vấn", "Đ\x00e3 đậu thi v\x00e0 phỏng vấn", "Đang l\x00e0m việc" });
            this.cboStatus.Size = new Size(0xaf, 20);
            this.cboStatus.StyleController = this.layoutControl17;
            this.cboStatus.TabIndex = 3;
            this.layoutControlGroup16.CustomizationFormText = "layoutControlGroup7";
            this.layoutControlGroup16.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup16.GroupBordersVisible = false;
            this.layoutControlGroup16.Items.AddRange(new BaseLayoutItem[] { this.lcExpectSalary, this.lcPosition2, this.lcPosition1, this.lcStatus });
            this.layoutControlGroup16.Location = new Point(0, 0);
            this.layoutControlGroup16.Name = "layoutControlGroup7";
            this.layoutControlGroup16.Size = new Size(0x13b, 0x98);
            this.layoutControlGroup16.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup16.Text = "layoutControlGroup7";
            this.layoutControlGroup16.TextVisible = false;
            this.lcExpectSalary.Control = this.calExpectSalary;
            this.lcExpectSalary.CustomizationFormText = "Mức lương mong muốn";
            this.lcExpectSalary.Location = new Point(0, 0x34);
            this.lcExpectSalary.Name = "lcExpectSalary";
            this.lcExpectSalary.Size = new Size(0x127, 0x18);
            this.lcExpectSalary.Text = "Mức lương mong muốn:";
            this.lcExpectSalary.TextSize = new Size(0x70, 13);
            this.lcPosition2.Control = this.cboPosition2;
            this.lcPosition2.CustomizationFormText = "Vị tr\x00ed 2:";
            this.lcPosition2.Location = new Point(0, 0x1a);
            this.lcPosition2.Name = "lcPosition2";
            this.lcPosition2.Size = new Size(0x127, 0x1a);
            this.lcPosition2.Text = "Vị tr\x00ed 2:";
            this.lcPosition2.TextSize = new Size(0x70, 13);
            this.lcPosition1.Control = this.cboPosition1;
            this.lcPosition1.CustomizationFormText = "vị tr\x00ed 1:";
            this.lcPosition1.Location = new Point(0, 0);
            this.lcPosition1.Name = "lcPosition1";
            this.lcPosition1.Size = new Size(0x127, 0x1a);
            this.lcPosition1.Text = "vị tr\x00ed 1:";
            this.lcPosition1.TextSize = new Size(0x70, 13);
            this.lcStatus.Control = this.cboStatus;
            this.lcStatus.CustomizationFormText = "Trạng th\x00e1i ứng vi\x00ean:";
            this.lcStatus.Location = new Point(0, 0x4c);
            this.lcStatus.Name = "lcStatus";
            this.lcStatus.Size = new Size(0x127, 0x38);
            this.lcStatus.Text = "Trạng th\x00e1i ứng vi\x00ean:";
            this.lcStatus.TextSize = new Size(0x70, 13);
            this.grWorkInformation.Controls.Add(this.layoutControl18);
            this.grWorkInformation.Location = new Point(6, 4);
            this.grWorkInformation.Name = "grWorkInformation";
            this.grWorkInformation.Size = new Size(0x143, 0xb1);
            this.grWorkInformation.TabIndex = 0;
            this.grWorkInformation.Text = "Th\x00f4ng Tin C\x00f4ng Việc";
            this.layoutControl18.Controls.Add(this.chcDegree);
            this.layoutControl18.Controls.Add(this.cboProfessional);
            this.layoutControl18.Controls.Add(this.cboJob);
            this.layoutControl18.Controls.Add(this.dtInputFileDate);
            this.layoutControl18.Controls.Add(this.calExperience);
            this.layoutControl18.Dock = DockStyle.Fill;
            this.layoutControl18.Location = new Point(2, 0x16);
            this.layoutControl18.Name = "layoutControl18";
            this.layoutControl18.OptionsView.AllowHotTrack = true;
            this.layoutControl18.OptionsView.HighlightDisabledItem = true;
            this.layoutControl18.OptionsView.HighlightFocusedItem = true;
            this.layoutControl18.Root = this.layoutControlGroup17;
            this.layoutControl18.Size = new Size(0x13f, 0x99);
            this.layoutControl18.TabIndex = 0;
            this.layoutControl18.Text = "layoutControl18";
            this.chcDegree.Location = new Point(120, 0x70);
            this.chcDegree.Name = "chcDegree";
            this.chcDegree.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("chcDegree.Properties.Buttons"), new KeyShortcut(Keys.None), obj11, "", null, null, true) });
            this.chcDegree.Size = new Size(0xbb, 0x16);
            this.chcDegree.StyleController = this.layoutControl18;
            this.chcDegree.TabIndex = 4;
            this.chcDegree.ButtonClick += new ButtonPressedEventHandler(this.chc_ButtonClick);
            this.cboProfessional.Location = new Point(120, 12);
            this.cboProfessional.Name = "cboProfessional";
            this.cboProfessional.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboProfessional.Properties.Buttons"), new KeyShortcut(Keys.None), obj12, "", null, null, true) });
            this.cboProfessional.Size = new Size(0xbb, 0x16);
            this.cboProfessional.StyleController = this.layoutControl18;
            this.cboProfessional.TabIndex = 0;
            this.cboProfessional.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboJob.Location = new Point(120, 0x26);
            this.cboJob.Name = "cboJob";
            this.cboJob.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboJob.Properties.Buttons"), new KeyShortcut(Keys.None), obj13, "", null, null, true) });
            this.cboJob.Size = new Size(0xbb, 0x16);
            this.cboJob.StyleController = this.layoutControl18;
            this.cboJob.TabIndex = 1;
            this.cboJob.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.dtInputFileDate.EditValue = null;
            this.dtInputFileDate.Location = new Point(120, 0x58);
            this.dtInputFileDate.Name = "dtInputFileDate";
            this.dtInputFileDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtInputFileDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtInputFileDate.Size = new Size(0xbb, 20);
            this.dtInputFileDate.StyleController = this.layoutControl18;
            this.dtInputFileDate.TabIndex = 3;
            this.calExperience.Location = new Point(120, 0x40);
            this.calExperience.Name = "calExperience";
            this.calExperience.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calExperience.Properties.Mask.MaskType = MaskType.None;
            this.calExperience.Size = new Size(0xbb, 20);
            this.calExperience.StyleController = this.layoutControl18;
            this.calExperience.TabIndex = 2;
            this.layoutControlGroup17.CustomizationFormText = "layoutControlGroup6";
            this.layoutControlGroup17.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup17.GroupBordersVisible = false;
            this.layoutControlGroup17.Items.AddRange(new BaseLayoutItem[] { this.lcExperience, this.lcInputFileDate, this.lcJob, this.lcProfessional, this.lcDegree });
            this.layoutControlGroup17.Location = new Point(0, 0);
            this.layoutControlGroup17.Name = "layoutControlGroup6";
            this.layoutControlGroup17.Size = new Size(0x13f, 0x99);
            this.layoutControlGroup17.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup17.Text = "layoutControlGroup6";
            this.layoutControlGroup17.TextVisible = false;
            this.lcExperience.Control = this.calExperience;
            this.lcExperience.CustomizationFormText = "Hệ số lương:";
            this.lcExperience.Location = new Point(0, 0x34);
            this.lcExperience.Name = "lcExperience";
            this.lcExperience.Size = new Size(0x12b, 0x18);
            this.lcExperience.Text = "Kinh nghiệm l\x00e0m việc:";
            this.lcExperience.TextSize = new Size(0x68, 13);
            this.lcInputFileDate.Control = this.dtInputFileDate;
            this.lcInputFileDate.CustomizationFormText = "Ng\x00e0y nộp hồ sơ:";
            this.lcInputFileDate.Location = new Point(0, 0x4c);
            this.lcInputFileDate.Name = "lcInputFileDate";
            this.lcInputFileDate.Size = new Size(0x12b, 0x18);
            this.lcInputFileDate.Text = "Ng\x00e0y nộp hồ sơ:";
            this.lcInputFileDate.TextSize = new Size(0x68, 13);
            this.lcJob.Control = this.cboJob;
            this.lcJob.CustomizationFormText = "C\x00f4ng việc từng l\x00e0m";
            this.lcJob.Location = new Point(0, 0x1a);
            this.lcJob.Name = "lcJob";
            this.lcJob.Size = new Size(0x12b, 0x1a);
            this.lcJob.Text = "C\x00f4ng việc từng l\x00e0m";
            this.lcJob.TextSize = new Size(0x68, 13);
            this.lcProfessional.Control = this.cboProfessional;
            this.lcProfessional.CustomizationFormText = "Tr\x00ecnh độ chuy\x00ean m\x00f4n:";
            this.lcProfessional.Location = new Point(0, 0);
            this.lcProfessional.Name = "lcProfessional";
            this.lcProfessional.Size = new Size(0x12b, 0x1a);
            this.lcProfessional.Text = "Tr\x00ecnh độ chuy\x00ean m\x00f4n:";
            this.lcProfessional.TextSize = new Size(0x68, 13);
            this.lcDegree.Control = this.chcDegree;
            this.lcDegree.CustomizationFormText = "C\x00e1c bằng cấp:";
            this.lcDegree.Location = new Point(0, 100);
            this.lcDegree.Name = "lcDegree";
            this.lcDegree.Size = new Size(0x12b, 0x21);
            this.lcDegree.Text = "C\x00e1c bằng cấp:";
            this.lcDegree.TextSize = new Size(0x68, 13);
            this.gridColumn1.Caption = "M\x00e3 chuy\x00ean m\x00f4n";
            this.gridColumn1.FieldName = "ProfessionalCode";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn2.Caption = "T\x00ean chuy\x00ean m\x00f4n";
            this.gridColumn2.FieldName = "ProfessionalName";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.lcRecruitmentName.AllowHtmlString = true;
            this.lcRecruitmentName.Location = new Point(10, 0x17a);
            this.lcRecruitmentName.Name = "lcRecruitmentName";
            this.lcRecruitmentName.Size = new Size(0x61, 14);
            this.lcRecruitmentName.TabIndex = 1;
            this.lcRecruitmentName.Text = "Đợt tuyển dụng <color=red>(*)</color>:";
            this.glkRecruitment.Location = new Point(110, 0x177);
            this.glkRecruitment.Name = "glkRecruitment";
            this.glkRecruitment.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.glkRecruitment.Properties.Appearance.Options.UseFont = true;
            this.glkRecruitment.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkRecruitment.Properties.Buttons"), new KeyShortcut(Keys.None), obj14, "", null, null, true) });
            this.glkRecruitment.Properties.NullText = "";
            this.glkRecruitment.Properties.PopupSizeable = false;
            this.glkRecruitment.Properties.TextEditStyle = TextEditStyles.Standard;
            this.glkRecruitment.Properties.View = this.gridView1;
            this.glkRecruitment.Size = new Size(0xf3, 0x16);
            this.glkRecruitment.TabIndex = 2;
            this.glkRecruitment.TabStop = false;
            this.glkRecruitment.ButtonClick += new ButtonPressedEventHandler(this.glk_ButtonClick);
            this.gridView1.Columns.AddRange(new GridColumn[] { this.gridColumn3, this.gridColumn4, this.gridColumn5, this.gridColumn6 });
            this.gridView1.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridColumn3.Caption = "M\x00e3 đợt";
            this.gridColumn3.FieldName = "RecruitmentCode";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 0;
            this.gridColumn3.Width = 0x5f;
            this.gridColumn4.Caption = "T\x00ean đợt";
            this.gridColumn4.FieldName = "RecruitmentName";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 1;
            this.gridColumn4.Width = 150;
            this.gridColumn5.Caption = "Từ ng\x00e0y";
            this.gridColumn5.FieldName = "FromDate";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.Width = 0x43;
            this.gridColumn6.Caption = "Đến ng\x00e0y";
            this.gridColumn6.FieldName = "ToDate";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.Width = 0x45;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.lcRecruitmentName);
            base.Controls.Add(this.xtraTabControl1);
            base.Controls.Add(this.glkRecruitment);
            base.Name = "xucCandidateAdd";
            base.Size = new Size(0x2a9, 0x198);
            base.Controls.SetChildIndex(this.glkRecruitment, 0);
            base.Controls.SetChildIndex(base.btnCancel, 0);
            base.Controls.SetChildIndex(base.btnSave, 0);
            base.Controls.SetChildIndex(base.btnSaveNew, 0);
            base.Controls.SetChildIndex(this.xtraTabControl1, 0);
            base.Controls.SetChildIndex(this.lcRecruitmentName, 0);
            ((ISupportInitialize) base.Err).EndInit();
            base.imageCollection2.EndInit();
            this.xtraTabControl1.EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.tabBasicInformation.ResumeLayout(false);
            this.layoutControl5.EndInit();
            this.layoutControl5.ResumeLayout(false);
            this.grHealth.EndInit();
            this.grHealth.ResumeLayout(false);
            this.layoutControl14.EndInit();
            this.layoutControl14.ResumeLayout(false);
            this.calWeight.Properties.EndInit();
            this.calHeight.Properties.EndInit();
            this.txtHealth.Properties.EndInit();
            this.layoutControlGroup5.EndInit();
            this.lcHealth.EndInit();
            this.lcHeight.EndInit();
            this.lcWeight.EndInit();
            this.cboInformatic.Properties.EndInit();
            this.cboLanguage.Properties.EndInit();
            this.cboEducation.Properties.EndInit();
            this.txtEmail.Properties.EndInit();
            this.txtHomePhone.Properties.EndInit();
            this.txtCellPhone.Properties.EndInit();
            this.cboMariage.Properties.EndInit();
            this.grIDCard.EndInit();
            this.grIDCard.ResumeLayout(false);
            this.layoutControl15.EndInit();
            this.layoutControl15.ResumeLayout(false);
            this.txtIDCardPlace.Properties.EndInit();
            this.dtIDCardDate.Properties.VistaTimeProperties.EndInit();
            this.dtIDCardDate.Properties.EndInit();
            this.txtIDCard.Properties.EndInit();
            this.layoutControlGroup1.EndInit();
            this.lcIDCard.EndInit();
            this.lcIDCardDate.EndInit();
            this.lcIDCardPlace.EndInit();
            this.dtBirthday.Properties.VistaTimeProperties.EndInit();
            this.dtBirthday.Properties.EndInit();
            this.txtLastName.Properties.EndInit();
            this.cheSex.Properties.EndInit();
            this.imgPhoto.Properties.EndInit();
            this.cboNationality.Properties.EndInit();
            this.txtContactAddress.Properties.EndInit();
            this.txtMainAddress.Properties.EndInit();
            this.cboReligion.Properties.EndInit();
            this.cboEthnic.Properties.EndInit();
            this.txtBirthPlace.Properties.EndInit();
            this.txtID.Properties.EndInit();
            this.txtFirstName.Properties.EndInit();
            this.layoutControlGroup14.EndInit();
            this.lcNationality.EndInit();
            this.lcCandidateCode.EndInit();
            this.lcMainAddress.EndInit();
            this.lcContactAddress.EndInit();
            this.layoutControlItem11.EndInit();
            this.layoutControlItem10.EndInit();
            this.lcLastName.EndInit();
            this.lcFirstName.EndInit();
            this.lcBirthday.EndInit();
            this.lcCellPhone.EndInit();
            this.lcHomePhone.EndInit();
            this.lcEmail.EndInit();
            this.lcEthnic.EndInit();
            this.lcReligion.EndInit();
            this.lcEducation.EndInit();
            this.lcLanguage.EndInit();
            this.lcInformatic.EndInit();
            this.layoutControlItem30.EndInit();
            this.layoutControlItem34.EndInit();
            this.lcBirthPlace.EndInit();
            this.lcMarriage.EndInit();
            this.tabRecruitmentInformation.ResumeLayout(false);
            this.tabRecruitmentInformation.PerformLayout();
            this.txtDescription.Properties.EndInit();
            this.grPersonContact.EndInit();
            this.grPersonContact.ResumeLayout(false);
            this.layoutControl16.EndInit();
            this.layoutControl16.ResumeLayout(false);
            this.txtPersonAddress.Properties.EndInit();
            this.cboPersonJob.Properties.EndInit();
            this.txtPersonPhone.Properties.EndInit();
            this.txtPersonName.Properties.EndInit();
            this.layoutControlGroup15.EndInit();
            this.lcPersonName.EndInit();
            this.lcPersonJob.EndInit();
            this.lcPersonAddress.EndInit();
            this.lcPersonPhone.EndInit();
            this.grPosition.EndInit();
            this.grPosition.ResumeLayout(false);
            this.layoutControl17.EndInit();
            this.layoutControl17.ResumeLayout(false);
            this.cboPosition1.Properties.EndInit();
            this.cboPosition2.Properties.EndInit();
            this.calExpectSalary.Properties.EndInit();
            this.cboStatus.Properties.EndInit();
            this.layoutControlGroup16.EndInit();
            this.lcExpectSalary.EndInit();
            this.lcPosition2.EndInit();
            this.lcPosition1.EndInit();
            this.lcStatus.EndInit();
            this.grWorkInformation.EndInit();
            this.grWorkInformation.ResumeLayout(false);
            this.layoutControl18.EndInit();
            this.layoutControl18.ResumeLayout(false);
            this.chcDegree.Properties.EndInit();
            this.cboProfessional.Properties.EndInit();
            this.cboJob.Properties.EndInit();
            this.dtInputFileDate.Properties.VistaTimeProperties.EndInit();
            this.dtInputFileDate.Properties.EndInit();
            this.calExperience.Properties.EndInit();
            this.layoutControlGroup17.EndInit();
            this.lcExperience.EndInit();
            this.lcInputFileDate.EndInit();
            this.lcJob.EndInit();
            this.lcProfessional.EndInit();
            this.lcDegree.EndInit();
            this.glkRecruitment.Properties.EndInit();
            this.gridView1.EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void InitMultiLanguages()
        {
            this.tabBasicInformation.Text = MultiLanguages.GetString("tbl_CandidateAdd", "tabBasicInformation", this.tabBasicInformation.Text);
            this.tabRecruitmentInformation.Text = MultiLanguages.GetString("tbl_CandidateAdd", "tabRecruitmentInformation", this.tabRecruitmentInformation.Text);
            this.grIDCard.Text = MultiLanguages.GetString("tbl_CandidateAdd", "grIDCard", this.grIDCard.Text);
            this.grHealth.Text = MultiLanguages.GetString("tbl_CandidateAdd", "grHealth", this.grHealth.Text);
            this.grWorkInformation.Text = MultiLanguages.GetString("tbl_CandidateAdd", "grWorkInformation", this.grWorkInformation.Text);
            this.grPosition.Text = MultiLanguages.GetString("tbl_CandidateAdd", "grPosition", this.grPosition.Text);
            this.grPersonContact.Text = MultiLanguages.GetString("tbl_CandidateAdd", "grPersonContact", this.grPersonContact.Text);
            this.imgPhoto.Properties.NullText = MultiLanguages.GetString("tbl_CandidateAdd", "NoPhoto", this.imgPhoto.Properties.NullText);
            this.lcCandidateCode.Text = MultiLanguages.GetString("tbl_CandidateAdd", "CandidateCode", this.lcCandidateCode.Text);
            this.lcFirstName.Text = MultiLanguages.GetString("tbl_CandidateAdd", "FirstName", this.lcFirstName.Text);
            this.lcLastName.Text = MultiLanguages.GetString("tbl_CandidateAdd", "LastName", this.lcLastName.Text);
            this.cheSex.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Sex", this.cheSex.Text);
            this.lcBirthday.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Birthday", this.lcBirthday.Text);
            this.lcBirthPlace.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Birthplace", this.lcBirthPlace.Text);
            this.lcMainAddress.Text = MultiLanguages.GetString("tbl_CandidateAdd", "MainAddress", this.lcMainAddress.Text);
            this.lcContactAddress.Text = MultiLanguages.GetString("tbl_CandidateAdd", "ContactAddress", this.lcContactAddress.Text);
            this.lcCellPhone.Text = MultiLanguages.GetString("tbl_CandidateAdd", "CellPhone", this.lcCellPhone.Text);
            this.lcHomePhone.Text = MultiLanguages.GetString("tbl_CandidateAdd", "HomePhone", this.lcHomePhone.Text);
            this.lcRecruitmentName.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Recruitment", this.lcRecruitmentName.Text);
            this.lcStatus.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Status", this.lcStatus.Text);
            this.lcIDCard.Text = MultiLanguages.GetString("tbl_CandidateAdd", "IDCard", this.lcIDCard.Text);
            this.lcIDCardDate.Text = MultiLanguages.GetString("tbl_CandidateAdd", "IDCardDate", this.lcIDCardDate.Text);
            this.lcIDCardPlace.Text = MultiLanguages.GetString("tbl_CandidateAdd", "IDCardPlace", this.lcIDCardPlace.Text);
            this.lcHealth.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Health", this.lcHealth.Text);
            this.lcHeight.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Height", this.lcHeight.Text);
            this.lcWeight.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Weight", this.lcWeight.Text);
            this.lcMarriage.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Marriage", this.lcMarriage.Text);
            this.lcNationality.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Nationality", this.lcNationality.Text);
            this.lcProfessional.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Professional", this.lcProfessional.Text);
            this.lcReligion.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Religion", this.lcReligion.Text);
            this.lcMarriage.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Marriage", this.lcMarriage.Text);
            this.lcLanguage.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Language", this.lcLanguage.Text);
            this.lcInformatic.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Informatic", this.lcInformatic.Text);
            this.lcEthnic.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Ethnic", this.lcEthnic.Text);
            this.lcEducation.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Education", this.lcEducation.Text);
            this.lcJob.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Job", this.lcJob.Text);
            this.lcExperience.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Experience", this.lcExperience.Text);
            this.lcInputFileDate.Text = MultiLanguages.GetString("tbl_CandidateAdd", "InputFileDate", this.lcInputFileDate.Text);
            this.lcDegree.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Degree", this.lcDegree.Text);
            this.lcPosition1.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Position1", this.lcPosition1.Text);
            this.lcPosition2.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Position2", this.lcPosition2.Text);
            this.lcExpectSalary.Text = MultiLanguages.GetString("tbl_CandidateAdd", "ExpectSalary", this.lcExpectSalary.Text);
            this.lcPersonName.Text = MultiLanguages.GetString("tbl_CandidateAdd", "PersonName", this.lcPersonName.Text);
            this.lcPersonJob.Text = MultiLanguages.GetString("tbl_CandidateAdd", "PersonJob", this.lcPersonJob.Text);
            this.lcPersonAddress.Text = MultiLanguages.GetString("tbl_CandidateAdd", "PersonAddress", this.lcPersonAddress.Text);
            this.lcPersonPhone.Text = MultiLanguages.GetString("tbl_CandidateAdd", "PersonPhone", this.lcPersonPhone.Text);
            this.lcDescription.Text = MultiLanguages.GetString("tbl_CandidateAdd", "Description", this.lcEducation.Text);
        }

        private void RaiseSuccessEventHander(HRM_CANDIDATE item)
        {
            if (this.Success != null)
            {
                this.Success(this, item);
            }
        }

        private void SaveDegree()
        {
            foreach (CheckedListBoxItem item in this.chcDegree.Properties.Items)
            {
                HRM_CANDIDATE_DEGREE hrm_candidate_degree = new HRM_CANDIDATE_DEGREE();
                if (item.CheckState == CheckState.Unchecked)
                {
                    if (hrm_candidate_degree.Exist(this.txtID.Text, item.Value.ToString()))
                    {
                        hrm_candidate_degree.Delete(this.txtID.Text, item.Value.ToString());
                    }
                }
                else if ((item.CheckState == CheckState.Checked) && !hrm_candidate_degree.Exist(this.txtID.Text, item.Value.ToString()))
                {
                    hrm_candidate_degree.Insert(this.txtID.Text, item.Value.ToString());
                }
            }
        }

        public void SetData(HRM_CANDIDATE item)
        {
            this.txtID.Text = item.CandidateCode;
            SYS_LOG.Insert("Danh S\x00e1ch Ứng Vi\x00ean", "Xem", this.txtID.Text);
            if (base.m_Status == Actions.Update)
            {
                this.txtID.Properties.ReadOnly = true;
            }
            this.txtFirstName.Text = item.FirstName;
            this.txtLastName.Text = item.LastName;
            this.cheSex.Checked = item.Sex;
            this.dtBirthday.DateTime = item.Birthday;
            this.cboMariage.Text = item.Marriage;
            this.txtBirthPlace.Text = item.BirthPlace;
            this.txtMainAddress.Text = item.MainAddress;
            this.txtContactAddress.Text = item.ContactAddress;
            this.txtCellPhone.Text = item.CellPhone;
            this.txtHomePhone.Text = item.HomePhone;
            this.txtEmail.Text = item.Email;
            this.imgPhoto.Image = item.Photo;
            this.cboNationality.Text = item.Nationality;
            this.cboEthnic.Text = item.Ethnic;
            this.cboReligion.Text = item.Religion;
            this.cboEducation.Text = item.Education;
            this.cboLanguage.Text = item.Language;
            this.cboInformatic.Text = item.Informatic;
            this.txtIDCard.Text = item.IDCard;
            this.dtIDCardDate.DateTime = item.IDCardDate;
            this.txtIDCardPlace.Text = item.IDCardPlace;
            this.txtHealth.Text = item.Health;
            this.calHeight.Text = item.Height.ToString();
            this.calWeight.Text = item.Weight.ToString();
            this.cboProfessional.Text = item.Professional;
            this.cboJob.Text = item.Job;
            this.calExperience.Text = item.Experience;
            this.dtInputFileDate.DateTime = item.InputFileDate;
            this.cboPosition1.Text = item.Position1;
            this.cboPosition2.Text = item.Position2;
            this.calExpectSalary.Text = item.ExpectSalary.ToString();
            this.cboStatus.SelectedIndex = item.Status;
            this.txtPersonName.Text = item.PersonName;
            this.cboPersonJob.Text = item.PersonJob;
            this.txtPersonAddress.Text = item.PersonAddress;
            this.txtPersonPhone.Text = item.PersonPhone;
            this.txtDescription.Text = item.Description;
            this.glkRecruitment.EditValue = item.RecruitmentCode;
            this.InitDegree();
        }

        private void txtID_EditValueChanged(object sender, EventArgs e)
        {
            TextEdit control = (TextEdit) sender;
            if (control.ErrorText != string.Empty)
            {
                base.Err.SetError(control, string.Empty);
            }
            if (base.m_Status == Actions.Add)
            {
                HRM_CANDIDATE hrm_candidate = new HRM_CANDIDATE();
                if (hrm_candidate.Exist(control.Text))
                {
                    base.Err.SetError(control, "M\x00e3 đ\x00e3 tồn tại.");
                    control.Focus();
                }
            }
        }

        private void txtID_KeyDown(object sender, KeyEventArgs e)
        {
            TextEdit control = (TextEdit) sender;
            if ((e.KeyCode == Keys.Enter) | (e.KeyCode == Keys.Tab))
            {
                HRM_CANDIDATE hrm_candidate = new HRM_CANDIDATE();
                if ((base.m_Status == Actions.Add) && hrm_candidate.Exist(control.Text))
                {
                    base.Err.SetError(control, "M\x00e3 đ\x00e3 tồn tại.");
                    control.Focus();
                }
            }
        }

        protected override string uc_Change()
        {
            return string.Empty;
        }

        protected override string uc_Delete()
        {
            HRM_CANDIDATE item = new HRM_CANDIDATE {
                CandidateCode = this.txtID.Text
            };
            string str = item.Delete();
            if (str == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            return str;
        }

        protected override string uc_Save()
        {
            SYS_LOG.Insert("Danh S\x00e1ch Ứng Vi\x00ean", "Th\x00eam", this.txtID.Text);
            base.SetWaitDialogCaption("Đang lưu dữ liệu...");
            Cursor.Current = Cursors.WaitCursor;
            HRM_CANDIDATE item = new HRM_CANDIDATE();
            item = this.InitClass();
            if (item == null)
            {
                this.DoHide();
                return "";
            }
            string text = item.Insert();
            if (text == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            Cursor.Current = Cursors.Default;
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Cảnh B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            text = item.Update(this.txtID.Text, this.imgPhoto.Image);
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Th\x00f4ng B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return text;
            }
            this.SaveDegree();
            this.DoHide();
            return text;
        }

        protected override string uc_Update()
        {
            SYS_LOG.Insert("Danh S\x00e1ch Ứng Vi\x00ean", "Cập Nhật", this.txtID.Text);
            base.SetWaitDialogCaption("Đang cập nhật dữ liệu...");
            HRM_CANDIDATE item = new HRM_CANDIDATE();
            item = this.InitClass();
            string text = item.Update();
            if (text == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Cảnh B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            text = item.Update(this.txtID.Text, this.imgPhoto.Image);
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Th\x00f4ng B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return text;
            }
            this.SaveDegree();
            this.DoHide();
            return text;
        }

        public delegate void SuccessEventHander(object sender, HRM_CANDIDATE item);
    }
}

